package decorator;

/**
 * @author ycc
 * @date 2024/4/2
 */
public class Mocha extends CondimentDecorator {
    public Mocha(Beverage beverage) {
        super(beverage);
    }

    @Override
    public double cost() {
        return super.cost() + 0.3;
    }
}
